package top.suven.base.oauth.dto.request;

/**
 * @ClassName OAuthTokenRequestDto
 * @Author suven.wang
 * @Description //TODO ${END}$
 * @CreateDate 2018-09-29  18:35
 * @WeeK 星期六
 * @Version v2.0
 **/
public class OAuthUserRequestDto {

    private long userId;
    private String clientId;
    private String code;
    private String state;
    private String username;
    private String password;
    private String token;

    public static OAuthUserRequestDto build(){

        return new OAuthUserRequestDto();
    }

    public long getUserId() {
        return userId;
    }

    public OAuthUserRequestDto setUserId(long userId) {
        this.userId = userId;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public OAuthUserRequestDto setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public OAuthUserRequestDto setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getToken() {
        return token;
    }

    public OAuthUserRequestDto setToken(String token) {
        this.token = token;
        return this;
    }

    public String getCode() {
        return code;
    }

    public OAuthUserRequestDto setCode(String code) {
        this.code = code;
        return this;
    }

    public String getState() {
        return state;
    }

    public OAuthUserRequestDto setState(String state) {
        this.state = state;
        return this;
    }

    public String getClientId() {
        return clientId;
    }

    public OAuthUserRequestDto setClientId(String clientId) {
        this.clientId = clientId;
        return this;
    }
}
